//package com.example.lcqexcel.my;
//
//import com.alibaba.excel.EasyExcel;
//import com.alibaba.excel.ExcelWriter;
//import com.alibaba.excel.enums.CellDataTypeEnum;
//import com.alibaba.excel.metadata.data.ImageData;
//import com.alibaba.excel.metadata.data.WriteCellData;
//import com.alibaba.excel.util.FileUtils;
//import com.alibaba.excel.write.metadata.WriteSheet;
//import com.alibaba.excel.write.metadata.WriteTable;
//import com.alibaba.excel.write.metadata.style.WriteCellStyle;
//import com.alibaba.excel.write.metadata.style.WriteFont;
//import com.alibaba.excel.write.style.HorizontalCellStyleStrategy;
//import com.example.lcqexcel.demo.*;
//import com.example.lcqexcel.test.CustomSheetWriteHandler;
//import org.apache.poi.ss.usermodel.HorizontalAlignment;
//import org.apache.poi.ss.usermodel.IndexedColors;
//import org.junit.Test;
//
//import java.io.File;
//import java.io.IOException;
//import java.net.MalformedURLException;
//import java.net.URL;
//import java.util.ArrayList;
//import java.util.Arrays;
//import java.util.List;
//
///**
// * @ClassName EasyExcelTest
// * @Description
// * @Author lichuanqi
// * @Date 2021/9/26 15:26
// * @Version 1.0
// **/
//public class EasyExcelTest {
//
//
//    @Test
//    public void simpleWrite() throws MalformedURLException {
//        EasyExcel.write("mytest.xlsx", ProblemLibResultExportDto.class)
//                .sheet("模板").doWrite(getExcelData());
//    }
//
//    List<ProblemLibResultExportDto> getExcelData(){
//        return Arrays.asList(new ProblemLibResultExportDto());
//    }
//}
